using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class CardUI : MonoBehaviour
{
    [SerializeField] private Image icon;
    [SerializeField] private Text nameText;

    public void SetUp(Card card)
    {
        icon.sprite=card.Image;
        nameText.text=card.Title;
    }

}
